hotplug scripts: Fix sharing check for blktap
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 22 Apr 2008 09:29:32 +0000 (10:29 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 22 Apr 2008 09:29:32 +0000 (10:29 +0100)
commit978e9bef8c3db26dc2bd502fbcde8be043748995
tree3f9802cda7d5a973ad2606ce90694bb49da11616
parent4195aba99fe3de6d3288e3d886ad268e71706657
hotplug scripts: Fix sharing check for blktap

Run check_blktap_sharing() only when a disk is added to guest with blktap.
A check_blktap_sharing() doesn't have to be run when a disk is removed.

Signed-off-by: Hirofumi Tsujimura <tsujimura.hirof@jp.fujitsu.com>
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
tools/examples/blktap